package com.woniu.finance.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_finance_bill")
public class Bill implements Serializable {

    private Integer id;

    private String enterpriseId;

    private BigDecimal billMoney;

    private String billType;

    private String billDetail;

    private String billTime;

    private BigDecimal balance;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("是否删除标识 0：未删除  1：删除")
    @TableLogic(value = "0",delval = "1")
    private Integer isDelete;
}
